package com.example.zyfypt_713zxy.service;



import com.example.zyfypt_713zxy.bean.LoginBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface UserService {
    @GET("api.php/login")
    Call<LoginBean> login(
      @Query("username") String username,
      @Query("password") String password
    );

    @GET("api.php/reg/username/{username}/password/{password}/tel/{tel}")
    Call<String> register(
            @Path("username") String username,
            @Path("password") String password,
            @Path("tel") String tel
    );
}
